using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ThietBiKhuNhaEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: ThietBiKhuNhaEntity</para>
	/// <para>Description: ClassThietBiKhuNhaEntity store data of table ThietBiKhuNha</para>
	///</summary>

	[DataContract]
	public partial class ThietBiKhuNhaEntity{


		private bool _InternalChangedIsNullThietBiKhuNha_ID=true;
		private bool _IsNullThietBiKhuNha_ID=true;
		private bool _InternalChangedIsNullKhuNha_ID=true;
		private bool _IsNullKhuNha_ID=true;
		private bool _InternalChangedIsNullLoaiThietBi_ID=true;
		private bool _IsNullLoaiThietBi_ID=true;
		private int _ThietBiKhuNha_ID;
		private int _KhuNha_ID;
		private int _LoaiThietBi_ID;
		[DataMember]
		public bool IsNullThietBiKhuNha_ID{
			get{return _IsNullThietBiKhuNha_ID;}
			set{if(!_InternalChangedIsNullThietBiKhuNha_ID)_IsNullThietBiKhuNha_ID=value;}
		}
		[DataMember]
		public bool IsNullKhuNha_ID{
			get{return _IsNullKhuNha_ID;}
			set{if(!_InternalChangedIsNullKhuNha_ID)_IsNullKhuNha_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiThietBi_ID{
			get{return _IsNullLoaiThietBi_ID;}
			set{if(!_InternalChangedIsNullLoaiThietBi_ID)_IsNullLoaiThietBi_ID=value;}
		}
		[DataMember]
		public int ThietBiKhuNha_ID{
			get{return _ThietBiKhuNha_ID;}
			set{
				_ThietBiKhuNha_ID=value;
				if(_ThietBiKhuNha_ID!=null){
					_IsNullThietBiKhuNha_ID=false;
					_InternalChangedIsNullThietBiKhuNha_ID=true;
				}
			}
		}
		[DataMember]
		public int KhuNha_ID{
			get{return _KhuNha_ID;}
			set{
				_KhuNha_ID=value;
				if(_KhuNha_ID!=null){
					_IsNullKhuNha_ID=false;
					_InternalChangedIsNullKhuNha_ID=true;
				}
			}
		}
		[DataMember]
		public int LoaiThietBi_ID{
			get{return _LoaiThietBi_ID;}
			set{
				_LoaiThietBi_ID=value;
				if(_LoaiThietBi_ID!=null){
					_IsNullLoaiThietBi_ID=false;
					_InternalChangedIsNullLoaiThietBi_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ThietBiKhuNhaEntityBase*****************************************/
	/*****************************************************************************************************/
}

